package com.baikeyang.service.activity;

import com.baikeyang.common.model.ActivityUserCare;
import com.baikeyang.common.model.ActivityUserFav;
import com.baikeyang.service.base.ISuperService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * <p>
 * 用户关注 服务类
 * </p>
 *
 * @author BaiKeyang
 * @since 2020-05-24
 */
public interface IActivityUserCareService extends ISuperService<ActivityUserCare> {

    /**
     * 保存用户关注的人
     * @param userCare
     * @return
     */
    int saveActivityUserCare(ActivityUserCare userCare);

    /**
     * 判断用户是否关注了当前用户
     * @param userId
     * @param careUserId
     * @return
     */
    int getActivityUserCareByUserIdAndCareUserId(Long userId, Long careUserId);

    /**
     * 用户取消关注
     * @param userId
     * @param careUserId
     * @return
     */
    int delActivityUserCareByUserIdAndCareUserId(String userId, Long careUserId);
}
